package com.yunshipei.model;

import com.fsck.k9.K9;

/**
 * Created by cike on 16/8/18.
 */
public class ShareModel {
    private ShareItemEnum itemType;             //会话  群组   通讯录
    private Object itemContent;                 //会话内容
    private String name;                        //名字
    private String avator;                      //头像
    private String targetId;                    //目标
    private int nember;                         //成员数量

    public ShareModel() {

    }

    public ShareModel(ShareItemEnum shareItemEnum, Object obj) {
        this.itemType = shareItemEnum;
        this.itemContent = obj;
    }

    public ShareItemEnum getItemType() {
        return itemType;
    }

    public void setItemType(ShareItemEnum itemType) {
        this.itemType = itemType;
    }

    public Object getItemContent() {
        return itemContent;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvator() {
        return avator;
    }

    public void setAvator(String avator) {
        this.avator = avator;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public int getNember() {
        return nember;
    }

    public void setNember(int nember) {
        this.nember = nember;
    }

    public void setItemContent(Object itemContent) {
        this.itemContent = itemContent;
    }
    public static void main(String[] args) {
        ShareModel shareModel = new ShareModel(ShareItemEnum.CONTACT, 12);
        System.out.println(shareModel.getItemType().getPrice());
    }
}
